package com.xgimi.open.skill.datamanager.service.api;

import com.xgimi.commons.base.Result;
import com.xgimi.open.skill.datamanager.service.request.BatchWordStockReqDTO;
import com.xgimi.open.skill.datamanager.service.request.EntryHandleReqDTO;
import com.xgimi.open.skill.datamanager.service.request.WordStockReqDTO;
import com.xgimi.open.skill.datamanager.service.response.WordEntryDTO;
import com.xgimi.open.skill.datamanager.service.response.WordStockRespDTO;
import com.xgimi.open.skill.datamanager.service.response.WordStockRespDTO2;
import com.xgimi.open.skill.datamanager.service.response.page.PageResult;

import java.util.List;

/**
 * @author coderzpw.zhang
 * @version 1.0
 * @description 描述
 * @date 2023/3/3 14:22
 */
public interface WordStockRpcService {

    public Result<Boolean> addWordStock(WordStockReqDTO wordStockReqDTO);

    public Result<Boolean> batchCreate(BatchWordStockReqDTO batchWordStockReqDTO);

    public Result<List<WordStockRespDTO2>> list(WordStockReqDTO wordStockReqDTO);

    public Result<List<WordStockRespDTO>> listBySkillVid(Long skillVid);

    public Result<WordStockRespDTO> queryById(Long id);
    public Result<List<WordEntryDTO>> queryById2(Long id, String value);

    public Result<PageResult<WordStockRespDTO2>> pageQuery(WordStockReqDTO wordStockReqDTO);

    public Result<Boolean> delete(WordStockReqDTO wordStockReqDTO);

    public Result<Boolean> update(WordStockReqDTO wordStockReqDTO);
    public Result<Boolean> handleEntry(EntryHandleReqDTO entryHandleReqDTO);

}
